//
//  PCDApiGetAppInfo.m
//  PCDBankSix
//
//  Created by DK on 2022/3/5.
//

#import "PCDApiGetAppInfo.h"

@implementation PCDApiGetAppInfo

- (void)handler:(id)data andContext:(PCDContext *)context ResponseCallback:(WVJBResponseCallback )responseCallback
{
    //
    NSDictionary *parameters = (NSDictionary *)data;
    NSString *callBack = [parameters objectForKey:@"success"];
    NSDictionary *params = @{@"id":@"",@"name":@"",@"appid":[PCDUtil projectName],@"appname":[PCDUtil appName],@"statuBarHeight":[PCDUtil IsIphoneX]?@"44":@"20"};
    evaluateJavaScriptOnMainThread_quotes(self, callBack, [params JSONRepresentation]);
}

@end
